class_name Enemy
extends CharacterBody2D

enum Direction {
	LEFT =-1,
	RIGHT =1,
}

@export var direction := Direction.LEFT:
	set(v):
		direction = v
		graphics.scale.x = -direction
		
@export var max_speed :=180.0
@export var acceleration: float = 2000
var default_gravity = ProjectSettings.get("physics/2d/default_gravity")

@onready var graphics: Node2D = $Graphics
@onready var state_machine: StateMachine = $StateMachine
@onready var animation_player: AnimationPlayer = $AnimationPlayer

func _physics_process(delta: float) -> void:
	
